﻿@model CompanyManagementDLL.MetaData.RoleMetaData

@{
    ViewBag.Title = "Add Role";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<div class="row">
    <div class="col-md-6">
        <div class="box box-primary">
            <div class="box-header">
                <h3 class="box-title">Add Role</h3>
            </div>
            <form method="post">
                <div class="box-body">
                    <div style="color: red">
                        <b>@Html.ValidationSummary()</b>
                    </div>
                    <div class="form-group">
                        <label>Role Name</label>
                        @Html.TextBoxFor(model => model.RoleName, new { @class = "form-control", @placeholder = "Enter Role" })
                    </div>
                </div>
                <div class="box-footer">
                    <button class="btn btn-primary" type="submit">Submit</button>
                    <a class="btn btn-danger" href="@Url.Action("Index", "Role")"><i class="fa fa-arrow-left"></i>Cancel</a>
                </div>
            </form>
        </div>
    </div>
</div>

<script>
    $("#pagetitle").html("Role");
</script>
